//
//  RanPager.h
//  ThusMyStyle
//
//  Created by Ran on 15/9/30.
//  Copyright (c) 2015年 gintong. All rights reserved.
//

#import "RanPagerHeaderModel.h"

@class RanPager;

@protocol RanPagerDelegate <NSObject>

- (UIView *)pager: (RanPager *)pager contentViewAtIndex: (NSInteger)index;

@optional
- (void)pager: (RanPager *)pager willShowContentAtIndex: (NSInteger)index;

@end

@interface RanPager : NSObject

@property(nonatomic, weak)id<RanPagerDelegate> delegate;

@property(nonatomic, strong)RanPagerHeaderModel *headerModel;
@property(nonatomic, strong)UIColor *contentContainerColor;/**<内容容器背景色*/

- (void)addHeaderViewToView: (UIView *)superView withFrame: (CGRect)headerViewFrame;
- (void)removeHeaderView;

- (void)addContentViewToView: (UIView *)superView withFrame: (CGRect)contentViewFrame;
- (void)removeContentView;

@end
